#ifndef PLAYSCENE_H
#define PLAYSCENE_H

#include <QMainWindow>
#include "mycoin.h"

#define ROW 4
#define COL 4

class PlayScene : public QMainWindow
{
    Q_OBJECT
public:
    int m_level;
    int m_coinData[ROW][COL];
    //explicit PlayScene(QWidget *parent = nullptr);
    PlayScene(int level);

    void paintEvent(QPaintEvent *event);

    //储存金币
    Mycoin* m_coins[ROW][COL];

    //胜利标志
    bool m_isWin;

signals:
    void pressExitBtn();

public slots:
};

#endif // PLAYSCENE_H
